﻿	<div id="fbox-dialog" style="display: none">
		<iframe frameborder="0" width="370px" height="300px"></iframe>
	</div>
	<script type="text/javascript" src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.19/jquery-ui.min.js"></script>
	<script type="text/javascript">
		$(function () {
			$("#dialog:ui-dialog").dialog("destroy");
			$(".fbox").each(function (index) {
				$(this).click(function () {
					$("#fbox-dialog > iframe").attr("src", $(this).attr("href"));
					$("#fbox-dialog").dialog({
						width: 400,
						height: 350,
						modal: true,
						resizable: true,
						close: function () { window.location.reload(); }
					});
					return false;
				});
			});
		});
	</script>